package com.ruoyi.student.domain;

import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生信息对象 stu_info
 * 
 * @author yiang
 * @date 2025-04-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Getter
@Setter
public class StuInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */

    private String studentId;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String name;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 校区 */
    @Excel(name = "校区")
    private String campus;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 学生英文名 */
    @Excel(name = "学生英文名")
    private String englishName;

    /** 所属公立校 */
    @Excel(name = "所属公立校")
    private String publicSchool;

    /** 学生年级 */
    @Excel(name = "学生年级")
    private String publicSchoolYear;

    /** 公立校班级 */
    @Excel(name = "公立校班级")
    private String publicSchoolClass;

    @Excel(name = "班级")
    private String className;

    private String classId;

    /** 生日 */
    private Date birthDate;

    /** 民族 */
    private String ethnicity;

    /** 地址 */
    private String homeAddress;

    /** 身份证 */
    private String idCardNumber;

    /** 备注 */
    private String remarks;

    public void setStudentId(String studentId) 
    {
        this.studentId = studentId;
    }

    public String getStudentId() 
    {
        return studentId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setCampus(String campus) 
    {
        this.campus = campus;
    }

    public String getCampus() 
    {
        return campus;
    }

    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }

    public void setEnglishName(String englishName) 
    {
        this.englishName = englishName;
    }

    public String getEnglishName() 
    {
        return englishName;
    }

    public void setPublicSchool(String publicSchool) 
    {
        this.publicSchool = publicSchool;
    }

    public String getPublicSchool() 
    {
        return publicSchool;
    }

    public void setPublicSchoolYear(String publicSchoolYear) 
    {
        this.publicSchoolYear = publicSchoolYear;
    }

    public String getPublicSchoolYear() 
    {
        return publicSchoolYear;
    }

    public void setPublicSchoolClass(String publicSchoolClass) 
    {
        this.publicSchoolClass = publicSchoolClass;
    }

    public String getPublicSchoolClass() 
    {
        return publicSchoolClass;
    }

    public void setBirthDate(Date birthDate) 
    {
        this.birthDate = birthDate;
    }

    public Date getBirthDate() 
    {
        return birthDate;
    }

    public void setEthnicity(String ethnicity) 
    {
        this.ethnicity = ethnicity;
    }

    public String getEthnicity() 
    {
        return ethnicity;
    }

    public void setHomeAddress(String homeAddress) 
    {
        this.homeAddress = homeAddress;
    }

    public String getHomeAddress() 
    {
        return homeAddress;
    }

    public void setIdCardNumber(String idCardNumber) 
    {
        this.idCardNumber = idCardNumber;
    }

    public String getIdCardNumber() 
    {
        return idCardNumber;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentId", getStudentId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("campus", getCampus())
            .append("gender", getGender())
            .append("englishName", getEnglishName())
            .append("publicSchool", getPublicSchool())
            .append("publicSchoolYear", getPublicSchoolYear())
            .append("publicSchoolClass", getPublicSchoolClass())
            .append("birthDate", getBirthDate())
            .append("ethnicity", getEthnicity())
            .append("homeAddress", getHomeAddress())
            .append("idCardNumber", getIdCardNumber())
            .append("remarks", getRemarks())
            .toString();
    }
}
